.class public abstract Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;
.super Lcom/estrongs/android/pop/app/log/viewHolder/LogViewHolder;
.source "LogMediaBaseViewHolder.java"


# instance fields
.field public b:Landroid/widget/LinearLayout;

.field protected c:Landroid/widget/LinearLayout;

.field protected d:Landroid/widget/TextView;

.field protected e:Landroid/widget/ImageView;

.field protected f:Landroid/widget/TextView;

.field protected g:Landroid/widget/ImageView;

.field protected h:Landroid/widget/FrameLayout;

.field protected i:Landroid/widget/RelativeLayout;

.field protected j:Landroid/widget/LinearLayout;

.field protected k:Landroid/view/View;

.field protected l:Landroid/view/View;

.field protected m:Landroid/view/View;

.field protected n:Landroid/view/View;

.field protected o:Landroid/view/View;

.field protected p:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const v0, 0x7f0c0259

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/pop/app/log/viewHolder/LogViewHolder;-><init>(Landroid/content/Context;I)V

    return-void
.end method


# virtual methods
.method protected a(Landroid/view/View;)V
    .locals 1

    const v0, 0x7f090bab

    .line 1
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->b:Landroid/widget/LinearLayout;

    const v0, 0x7f0906de

    .line 2
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->c:Landroid/widget/LinearLayout;

    const v0, 0x7f090d28

    .line 3
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->d:Landroid/widget/TextView;

    const v0, 0x7f090541

    .line 4
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->e:Landroid/widget/ImageView;

    const v0, 0x7f090d29

    .line 5
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->f:Landroid/widget/TextView;

    const v0, 0x7f090545

    .line 6
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->g:Landroid/widget/ImageView;

    const v0, 0x7f0909c5

    .line 7
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->h:Landroid/widget/FrameLayout;

    const v0, 0x7f0909c1

    .line 8
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->i:Landroid/widget/RelativeLayout;

    const v0, 0x7f0906d9

    .line 9
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->j:Landroid/widget/LinearLayout;

    const v0, 0x7f0906df

    .line 10
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->k:Landroid/view/View;

    const v0, 0x7f090544

    .line 11
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->p:Landroid/widget/ImageView;

    .line 12
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->e()V

    .line 13
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->d()Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->l:Landroid/view/View;

    .line 14
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->d()Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->m:Landroid/view/View;

    .line 15
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->d()Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->n:Landroid/view/View;

    .line 16
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->d()Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->o:Landroid/view/View;

    return-void
.end method

.method public a(Ljava/lang/Object;)V
    .locals 6

    .line 17
    check-cast p1, Lcom/estrongs/android/pop/app/log/d;

    .line 18
    iget-boolean v0, p1, Lcom/estrongs/android/pop/app/log/d;->g:Z

    const/16 v1, 0x8

    const/4 v2, 0x0

    if-eqz v0, :cond_0

    .line 19
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->c:Landroid/widget/LinearLayout;

    #invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 20
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->d:Landroid/widget/TextView;

    iget-object v3, p1, Lcom/estrongs/android/pop/app/log/d;->a:Ljava/lang/String;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 21
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->c:Landroid/widget/LinearLayout;

    #invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 22
    :goto_0
    iget-boolean v0, p1, Lcom/estrongs/android/pop/app/log/d;->h:Z

    if-eqz v0, :cond_1

    .line 23
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->h:Landroid/widget/FrameLayout;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogViewHolder;->a:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f0700c6

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v3

    invoke-virtual {v0, v2, v2, v2, v3}, Landroid/widget/FrameLayout;->setPadding(IIII)V

    goto :goto_1

    .line 24
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->h:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2, v2, v2, v2}, Landroid/widget/FrameLayout;->setPadding(IIII)V

    .line 25
    :goto_1
    iget-boolean v0, p1, Lcom/estrongs/android/pop/app/log/d;->m:Z

    if-eqz v0, :cond_2

    .line 26
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->p:Landroid/widget/ImageView;

    #invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_2

    .line 27
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->p:Landroid/widget/ImageView;

    #invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 28
    :goto_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->k:Landroid/view/View;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogViewHolder;->a:Landroid/content/Context;

    invoke-virtual {v3}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f0700a6

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v3

    neg-int v3, v3

    iget-object v5, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogViewHolder;->a:Landroid/content/Context;

    .line 29
    invoke-virtual {v5}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v4

    neg-int v4, v4

    .line 30
    invoke-virtual {v0, v2, v3, v2, v4}, Landroid/view/View;->setPadding(IIII)V

    .line 31
    iget-boolean v0, p1, Lcom/estrongs/android/pop/app/log/d;->i:Z

    if-eqz v0, :cond_3

    .line 32
    iget-boolean v0, p1, Lcom/estrongs/android/pop/app/log/d;->l:Z

    .line 33
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->e:Landroid/widget/ImageView;

    const v3, 0x7f08071c

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 34
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->d:Landroid/widget/TextView;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v3

    const v4, 0x7f060332

    invoke-virtual {v3, v4}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_3

    .line 35
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->e:Landroid/widget/ImageView;

    const v3, 0x7f08071d

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 36
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->d:Landroid/widget/TextView;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v3

    const v4, 0x7f06032e

    invoke-virtual {v3, v4}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    .line 37
    :goto_3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->f:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogViewHolder;->a:Landroid/content/Context;

    invoke-virtual {p1, v3}, Lcom/estrongs/android/pop/app/log/d;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 38
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->g:Landroid/widget/ImageView;

    #invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 39
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    const v3, 0x7f0800f5

    invoke-virtual {v0, v3}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 40
    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getConstantState()Landroid/graphics/drawable/Drawable$ConstantState;

    move-result-object v3

    invoke-virtual {v3}, Landroid/graphics/drawable/Drawable$ConstantState;->newDrawable()Landroid/graphics/drawable/Drawable;

    move-result-object v3

    const/16 v4, 0x8c

    .line 41
    invoke-virtual {v3, v4}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    .line 42
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v4

    invoke-virtual {v4, v0, v3}, Lcom/estrongs/android/ui/theme/b;->a(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 43
    iget-object v3, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v3, v0}, Landroid/widget/RelativeLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 44
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogViewHolder;->a:Landroid/content/Context;

    const/high16 v3, 0x41700000    # 15.0f

    invoke-static {v0, v3}, Les/fy;->a(Landroid/content/Context;F)I

    move-result v0

    .line 45
    iget-object v3, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v3, v0, v2, v2, v0}, Landroid/widget/RelativeLayout;->setPadding(IIII)V

    .line 46
    invoke-static {}, Lcom/estrongs/android/util/o0;->d()Z

    move-result v3

    if-eqz v3, :cond_4

    .line 47
    iget-object v3, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->i:Landroid/widget/RelativeLayout;

    const/4 v4, 0x1

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->setFocusable(Z)V

    .line 48
    iget-object v3, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->i:Landroid/widget/RelativeLayout;

    const v4, 0x7f080717

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->setBackgroundResource(I)V

    .line 49
    iget-object v3, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->i:Landroid/widget/RelativeLayout;

    invoke-virtual {v3, v0, v0, v2, v2}, Landroid/widget/RelativeLayout;->setPadding(IIII)V

    .line 50
    :cond_4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->i:Landroid/widget/RelativeLayout;

    new-instance v2, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder$a;

    invoke-direct {v2, p0, p1}, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder$a;-><init>(Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;Lcom/estrongs/android/pop/app/log/d;)V

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 51
    iget-object p1, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->l:Landroid/view/View;

    #invoke-virtual {p1, v1}, Landroid/view/View;->setVisibility(I)V

    .line 52
    iget-object p1, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->m:Landroid/view/View;

    #invoke-virtual {p1, v1}, Landroid/view/View;->setVisibility(I)V

    .line 53
    iget-object p1, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->n:Landroid/view/View;

    #invoke-virtual {p1, v1}, Landroid/view/View;->setVisibility(I)V

    .line 54
    iget-object p1, p0, Lcom/estrongs/android/pop/app/log/viewHolder/LogMediaBaseViewHolder;->o:Landroid/view/View;

    #invoke-virtual {p1, v1}, Landroid/view/View;->setVisibility(I)V

    return-void
.end method

.method protected abstract d()Landroid/view/View;
.end method

.method protected abstract e()V
.end method
